package com.homedo.odin.solution.contract.oms;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.homedo.odin.solution.model.base.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * Created by liyi on 2018/5/22.
 */
@ApiModel(description = "白名单")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class UserSafeReq extends BaseRequest {

    @ApiModelProperty(value = "id", required = true)
    @NotNull(message = "id不能为null")
    private Long id;

    @ApiModelProperty(value = "操作人", required = true)
    @NotNull(message = "操作人不能为null")
    private String operator;

    @ApiModelProperty(value = "不通过原因")
    private String reason;
}